<template>
	<view class="window-main" v-if="showSetHintWindow">
		<view class="set-hint-window">
			<image class="shadow" src="../static/common/bg_shadow_window.png"></image>
			<image class="icon" src="../static/common/ic_hint_window.png"></image>
			<text class="font-333-36 font-weight-600" >使用设置</text>
			<text class="hint">您还未设置设备或服务人员，请根据您店铺情况进行设置</text>
			
			<view class="btn-box">
				<!-- <text class="cancel-btn" @click="showSetHintWindow = false">取消</text> -->
				<text class="confirm-btn" @click="gotoSetBed">去设置</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"setHintWindow",
		data() {
			return {
				showSetHintWindow:false
			};
		},
		
		methods:{
			gotoSetBed(){
				this.showSetHintWindow = false
				uni.navigateTo({
					url:'/pages/mine/setBed'
				})
			}
		}
	}
</script>

<style lang="scss">
	.set-hint-window{
		display: flex;
		flex-direction: column;
		width: calc(100% - 148rpx);
		position: relative;
		background: white;
		border-radius: 30rpx;
		align-items: center;
		
		.shadow{
			width: 100%;
			height: 220rpx;
			position: absolute;
		}
		
		.icon{
			width: 240rpx;
			height: 240rpx;
			margin-top: 49rpx;
			margin-bottom: 25rpx;
			z-index: 110;
		}
		
		.hint{
			color: #999999;
			font-size: 28rpx;
			margin: 10rpx 40rpx 44rpx 44rpx;
			text-align: center;
		}
		
		.btn-box{
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			width: calc(100% - 88rpx);
			margin: 0rpx 44rpx 44rpx 44rpx;
		}
		
		.cancel-btn{
			width: 200rpx;
			height: 85rpx;
			background: #F5F5F5;
			border-radius: 10rpx;
			margin-right: 30rpx;
			text-align: center;
			line-height: 85rpx;
			color: #333333;
			font-size: 32rpx;
			font-weight: 600;
		}
		
		.confirm-btn{
			flex-grow: 1;
			height: 85rpx;
			border-radius: 10rpx;
			background: #F94C4B;
			text-align: center;
			line-height: 85rpx;
			color: white;
			font-size: 32rpx;
			font-weight: 600;
		}
	}
</style>